#ifndef CLIENT_H
#define CLIENT_H

#include <QObject>
#include <QUdpSocket>
#include <QThread>

class Client : public QObject
{
    Q_OBJECT
public:
    explicit Client(QObject *parent = nullptr);
    ~Client();

    void init();

signals:

public slots:
    void readData();
    void sendData(const QString &ip, int port, const QString &data);

private:
    class Private;
    Private* d;
};

#endif // CLIENT_H
